package com.hcxdi.api.bean.base;

import java.io.Serializable;
import java.util.Map;

/**
 * @author 成都青桔科技有限公司
 * @version 1.0
 * @title 货车兄弟API
 * @desc todo
 * @changelog 16-11-9 初始化
 */
public class Rsp<T> implements Serializable{

    public static final int OK = 0;

    protected long code;
    protected String msg;
    protected T data;
    protected Map<String,Object> errorData;


    public Map<String, Object> getErrorData() {
        return errorData;
    }

    public void setErrorData(Map<String, Object> errorData) {
        this.errorData = errorData;
    }

    public long getCode() {
        return code;
    }

    public void setCode(long code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }


    public Rsp() {
    }

}
